package main

import (
	"fmt"

	// "geometry"

	"log"
)

func main(){

	var age int

	age=34

	fmt.Println("hello your age",age)
	fmt.Println()

	name, age := "naveen", 29 //short hand declaration
	fmt.Println("my name is", name, "age is", age)
	fmt.Println()

	i := 55      //int
    j := 67.8    //float64
    sum := float64(i) + (j) //j is converted to int
	fmt.Println(sum)
	
	// area, perimeter := rectProps(10.8, 5.6)
	// fmt.Println("area", area,"perimeter", perimeter)
	// fmt.Println()
	
	// area, _ = rectProps(10.8, 5.6) // perimeter is discarded
	// fmt.Println("area", area)
	// fmt.Println()

	// var rectLen, rectWidth float64 = 6, 7
    // fmt.Printf("area package %.2f\n", geometry.Area(rectLen, rectWidth))
	// fmt.Println()
	
	log.Fatal("log tatal test")
}

func rectProps(length, width float64)(float64, float64) {  
    var area = length * width
    var perimeter = (length + width) * 2
    return area, perimeter
}